<%@ Page Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="AlertPopup.aspx.cs" Inherits="AlertPopup" Title="App Frame" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >--%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
   <script language="JavaScript" type="text/javascript" src="scripts/AlertPopup.js"></script>
    <%--<style type="text/css">
    .popup_grid
   {
	color:#333;
	font-size:12px;
	font-weight:bold;
	padding:10px 10px 10px 10px;
	font-family:Arial, Helvetica, sans-serif;
   }
    </style>
    --%>
    
<div style="width:100%; height:100%;" >

<table width="100%" cellpadding="0" cellspacing="0" border="0" >
    <tr>
        <td>
            <asp:Label ID="lblMessage" runat="server" CssClass="defaultFont" Font-Size="X-Small" ForeColor="Black"></asp:Label>
        </td>
        <td rowspan="3" style="width:1%"></td>
    </tr>
    <tr style="height:30px;">
        <td class="pgForm_title" style="padding:5px;">
            <img alt="Reminder(s)" src="Images/MBIcons/Medium/default.png" />
            <asp:Label ID="lblHeader" runat="server"></asp:Label>
            <%--<input  style="vertical-align:middle" title="Refresh"  type="image" src="Images/refresh.png" value="Refresh"  onclick="window.location.reload()" />--%>
            &nbsp;<a id="refresh"  title ="Refresh" style="font-family:'arial';vertical-align:middle" href="#" onclick="javascript:document.location.href = window.location.href;">Refresh</a>
        </td>
    </tr>
    <tr>
        <td id="td_Page_ToopTip" runat="server">
        </td>
    </tr>
</table>


    <table cellpadding="0" width="100%" cellspacing="0">
       <%-- <tr>
            <td>
                <asp:HiddenField ID="hih_user_id" runat="server" />
                <asp:HiddenField ID="hih_af_row_id" runat="server" />
            </td>
        </tr>
        <tr>
            <td >
                <input id="lbl_task" type="text" runat="server" class="controlLabelFont"  style="background-color:#BDE1F8;border:0" readonly="readonly"  />
            </td>
        </tr>--%>
        <tr>
        <td style="height:10px;"></td>
        <td rowspan="3" style="width:1%"></td>
        </tr>
        <tr>
            <td>
                <%--<div>
                    <table id="header" border="0" cellspacing="0" style="WIDTH:100%;BORDER-COLLAPSE:collapse" runat="server">
                    </table>
                </div> --%>
                <%--<div style="width:100%;">--%>
                    <asp:GridView ID="GridAlert" DataKeyNames="task_row_id,subject" GridLines="None" ShowHeader="true" PagerSettings-Visible="false" CssClass="Grid_Table NotesTable"
                            AllowSorting="true" AutoGenerateColumns="False"  AutoGenerateDeleteButton="false" OnRowCreated ="GridAlert_RowCreated" ForeColor="#cccccc" runat="server" OnRowDataBound="GridAlert_RowDataBound" >
                        <Columns>
	                        <asp:TemplateField HeaderText="Select"  >
                                <ItemTemplate></ItemTemplate>
                                <HeaderTemplate></HeaderTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Select"  DataField="af_row_id"  />
	                        <asp:BoundField HeaderText="Task" HeaderStyle-HorizontalAlign="Left" DataField="subject" />
                            <asp:BoundField HeaderText="Status" HeaderStyle-HorizontalAlign="Left" DataField="status" />
                            <asp:BoundField HeaderText="Due Time" HeaderStyle-HorizontalAlign="Left" DataField="finish_date" />
                            <asp:BoundField HeaderText="Finish Date" HeaderStyle-HorizontalAlign="Left" DataField="finish_date" />
                            <asp:BoundField DataField="task_row_id" Visible="false"  />
                        </Columns>
                        <HeaderStyle CssClass="Grid_Header" />
                        <%--<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />--%>
                        <%--<RowStyle  CssClass="Grid_Row1"/>--%>
                        <RowStyle CssClass="Grid_Row0"/>
                        <AlternatingRowStyle CssClass="Grid_Row1"/>
                        <%--<AlternatingRowStyle  BackColor="#f1f1f1"/>--%>
                        <%--<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />--%>
                    </asp:GridView>
                <%--</div>--%>
            </td>
        </tr>
        <tr style="height:30px;">
            <td align="center" class="Dynamic_PageHeaderRow" >
                <div style="text-align:center">
                    <asp:Button ID="bt_task_completed" CssClass="controlFont" OnClientClick="javascript:ValidateCheckBoxSelection();" Text="Completed" runat="server" OnClick="bt_task_completed_Click" />
                    <asp:Button ID="bt_dismiss" CssClass="controlFont" OnClientClick="javascript:ValidateCheckBoxSelection();" Text="Dismiss" runat="server" OnClick="bt_dismiss_Click" />
                    <asp:DropDownList ID="ddl_deferred" onChange="javascript:enableViewReminderDeferButton(this);" CssClass="controlFont" runat ="server"></asp:DropDownList>
                    <asp:Button ID="bt_defer" CssClass="controlFont" OnClientClick="javascript:ValidateCheckBoxSelection();" Text="Defer" runat="server" OnClick="bt_defer_Click" />
                </div>
            </td>
        </tr>
    </table>
</div>
   
</asp:Content>

